import Layout from '@/layout/Layout'

const operationRouter = {
  path: '/operation',
  component: Layout,
  redirect: 'noredirect',
  name: '运营管理',
  meta: {
    title: '运营管理',
    icon: 'fa-tasks'
  },
  children: [
     {
        path: "promoteRuleManagement",
        name: "PromoteRuleManagement",
        meta: { title: "商户推广规则",cache: true},
        component: () => import("@/views/operation/PromoteRuleManagement")
      },
      {
        path: "promoteModelManagement",
        name: "PromoteModelManagement",
        meta: { title: "推广模板",cache: true},
        component: () => import("@/views/operation/PromoteModelManagement")
      },
      {
        path: "activeManagement",
        name: "ActiveManagement",
        meta: { title: "营销活动",cache: true},
        component: () => import("@/views/operation/ActiveManagement")
      },
      {
        path: "posterModelManagement",
        name: "PosterModelManagement",
        meta: { title: "海报模板",cache: true},
        component: () => import("@/views/operation/PosterModelManagement")
      },
      {
        path: "informationList",
        name: "InformationList",
        meta: { title: "资讯列表",cache: true},
        component: () => import("@/views/operation/InformationList")
      },
      {
        path: "activityManagement",
        name: "ActivityManagement",
        meta: { title: "活动报名",cache: true},
        component: () => import("@/views/operation/ActivityManagement")
      },
      {
        path: "tagList",
        name: "TagList",
        meta: { title: "标签列表",cache: true},
        component: () => import("@/views/operation/TagList")
      },
  ]
}
export default operationRouter
